{extend name='user/public/layout' /}
{block name='content'}
<div class="overflow_h">
    <div class="screen">
        <div class="screen_box01 overflow_h">
            <ul>
                <li><a href="{:url('user.ask/index')}">提问列表</a></li>
                <li><a href="{:url('user.ask/myanswer')}">回答列表</a></li>
                <li><a href="{:url('user.ask/help')}" class="on">求助列表</a></li>
                <li><a href="{:url('user.ask/add')}">我要提问</a></li>
            </ul>
        </div>
    </div>
    <div class="user-nav">
        <table class="tab_list">
            <tr>
                <th style="width: 20%">发布时间</th>
                <th style="width: 10%">所属分类</th>
                <th style="width: 35%">问答标题</th>
                <th style="width: 20%">联系信息</th>
                <th style="width:5%">操作</th>
            </tr>
            {volist name="lists" id='vo' empty='<tr><td>暂无数据</td></tr>'}
            <tr>
                <td>{$vo.create_time|date='Y-m-d H:i:s',###}</td>
                <td>{present name='askCate[$vo.cate_id]'}{$askCate[$vo.cate_id]['name']}{/present}</td>
                <td><a href="{:url('Question/detail',['id'=>$vo['id']])}" target="_blank">{$vo.title}</a></td>
                <td class="green">{$vo.user_name}、{$vo.phone}</td>
                <td class="dn"><a href="{:url('user.ask/answer',['id'=>$vo['id']])}">回答</a><td>
            </tr>
            {/volist}
        </table>
        <div class="plastic_bottom_pages">
            {$pages}
        </div>
    </div>
</div>

{/block}